# include <iostream>
# include <algorithm>  // 匿名函数所在的头文件


int main(){
    auto add = [](int a, int b) ->int { return a + b; };  // 匿名函数 语法【捕获参数列表】

    auto sum = add(100,105);
    auto print__ =[sum]()->void{
        std::cout << "sum = " << sum << std::endl;
    };

    print__();
    return 0;
}